#include "mcRaster.h"
#include "mcRasterColor.h"


static const int RGB_LUV_XYZ[3][3] = { { 4125, 3576, 1804 },
{ 2125, 7154, 721 },
{ 193, 1192, 9502 } };
static const int	SEC_SIZE = 64;  // 2^6
static const int FIRST_SIZE = 262144; // 2^18

static const double  Un_prime = (double)0.1978;
static const double  Vn_prime = (double)0.4683;
static const double  Lt = (double)0.008856;

// Constants for LUV transformation
static const double  Xn = (double)0.9505;
static const double  Yn = (double)1.0;
static const double  Zn = (double)1.0888;